﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace EFCore.Dbfirst.Migrations
{
    public partial class info2 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Id",
                table: "Users");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<long>(
                name: "Id",
                table: "Users",
                type: "bigint",
                nullable: false,
                defaultValueSql: "(CONVERT([bigint],(0)))");
        }
    }
}